package Day06;

public class Goods {

    public int id;

    public String name;

    public int price;

    public int order;

    public Goods() {
    }

    public Goods(int id, String name, int price, int order) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.order = order;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }
}
